package com.openbravo.bean;

import java.util.Date;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

public class ProductScore implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey{
    /**
	 * 
	 */
	private static final long serialVersionUID = -851348330385624569L;
	private String id;
    public Date lastModified;
    
    private String productId;
    private double score;
    private int type;//如网店，实体店
    
    public static int TYPE_Store=0;
    public static int TYPE_Online=1;

    
	public ProductScore() {
		
	}

	public ProductScore(String productId) {
		this.productId=productId;
	}

	@Override
	public String getKey() {
		return id;
	}

	@Override
	public Date getLastModified() {
		return lastModified;
	}

	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;
	}

	@Override
	public void setKey(String key) {
		this.id=key;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
